Javascript: Inconsistent behavior with bound function in `some` array function